Carbon


PBCreateFileIDRefSync

Header: Files.h Carbon status: Supported

Establishes a file ID reference for a file.

OSErr PBCreateFileIDRefSync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to an fidParam variant of the HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

Given a volume reference number, filename, and parent directory ID, the PBCreateFileIDRefSync function creates a structure to hold the name and parent directory ID of the specified file.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)